#ifndef FONT_H
#define FONT_H

#include <string>
#include <map>
#include <glm/glm.hpp>
#include <GLFW/glfw3.h>
#include <ft2build.h>
#include FT_FREETYPE_H

struct ft_char_t
{
	GLuint textureID;
	glm::ivec2 size;
	glm::ivec2 bearing;
	GLuint advance;
};

class Font {
public:
	Font ( std::string pathToFont = nullptr );
	~Font ();

	std::map<GLchar, ft_char_t> alphabet;

private:
	FT_Library m_lib;
	FT_Face m_face;
};

#endif